load Ad
Starts loading the ad on a background thread.
Parameters
Data for targeting and ad configuration.
AppOpenAdLoadListener to be invoked when the ad is loaded or loading fails.
Starts loading the ad on a background thread. Suspends until the result is available.
Return
AppOpenAdLoadResult.Success with AppOpenAd or AppOpenAdLoadResult.Failure with com.yandex.mobile.ads.common.AdRequestError.
Parameters
Data for targeting and ad configuration.
Starts loading the ad on a background thread with ready response.
Parameters
The AdUnit ID is a unique identifier in the R-M-XXXXXX-Y format, which is assigned in the Partner interface.
Encoded response for ad request.
AppOpenAdLoadListener to be invoked when the ad is loaded or loading fails.
Starts loading the ad on a background thread with ready response. Suspends until the result is available.
Return
AppOpenAdLoadResult.Success with AppOpenAd or AppOpenAdLoadResult.Failure with com.yandex.mobile.ads.common.AdRequestError.
Parameters
The AdUnit ID is a unique identifier in the R-M-XXXXXX-Y format, which is assigned in the Partner interface.
Encoded response for ad request.